#pragma once
#include "BaseInclude.h"
#include "GameObject.h"

class CGameDisplayObject : public CGameUIObject
{
public:
	CGameDisplayObject(void);
	~CGameDisplayObject(void);

	void SetPos(int iX,int iY);
	void SetSize(int iW,int iH);
	void SetAlpha(int iApha);
	void SetUserData(const string& rkData);
	const string& GetUserData()const;
	string& GetUserData();

	int GetPosX()const;
	int GetPosY()const;
	int GetWidth()const;
	int GetHeight()const;
	int GetAlpha()const;

	BOOL IsMouseOn()const;

protected:
	int m_iAbsX;
	int m_iAbsY;
	int m_iWidth;
	int m_iHeight;
	int m_iAlpha;
	string m_kUserData;
	DWORD m_dwCreateTime;
};
